﻿using System;
using System.Collections.Generic;

namespace PublicTransportEnabler.net.Model
{
    [Serializable]
    public class Part
    {
        private static long serialVersionUID = 8498461220084523265L;

        public Part(Location departure, Location arrival, List<Point> path)
        {
            Departure = departure;
            Arrival = arrival;
            Path = path;
        }

        public Location Departure { get; private set; }
        public Location Arrival { get; private set; }
        public List<Point> Path { get; private set; }
    }
}